const getters = {
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  token: (state) => state.user.token,
  avatar: (state) => state.user.avatar,
  name: (state) => state.user.name,
  // 好友列表
  onGetContactUserList: (state) => state.chat.userList.contactUserList,
  // 获取当前聊天对象的记录
  onGetCurrentChatObjMsg: (state) => state.chat.currentMsgs
}
export default getters
